package com.qishenyuan.competition.dto;

import com.qishenyuan.competition.Bo.EducationExperience;
import com.qishenyuan.competition.Bo.ProjectExperience;
import com.qishenyuan.competition.Bo.InternshipExperience;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class UserUpdateInfo {

    @NotNull(message = "uid can not be null")
    private String uid;

    @NotNull(message = "openId can not be null")
    private String openId;

    private String school;

    private String nickName;

    private String avatar;

    private String major;

    private List<ProjectExperience> projectExperiences;

    private List<EducationExperience> educationExperiences;

    private List<InternshipExperience> internshipExperiences;

    private List<String> certificates;

    private String resume;

    private String resumeByAi;

    @NotNull(message = "isNewUser can not be null")
    private boolean isNewUser;

}
